class Student:
    def __init__(self, name, score):
        self.name = name
        self.score = score


class Junior(Student):
    def play(self):
        return '玩游戏'
    def __str__(self):
        """将输出格式 打印成 字符串"""
        return f"学员姓名{self.name} 学员成绩{self.score}"